package com.itheima.mapper;

import com.itheima.bean.User;
import org.apache.ibatis.annotations.Select;

public interface UserDao {

    //login
    @Select("SELECT * FROM user WHERE username = #{username} AND PASSWORD=#{password}")
    User login(User user);
}
